<div class="panel panel-default">
    <div class="panel-body panel-body-nopadding">

        <form class="form-horizontal form-bordered" method="post">

            <div class="form-group">
                <label class="col-sm-3 control-label">解析器名称</label>
                <div class="col-sm-6">
                    <input type="text" placeholder="解析器名称" class="form-control" name="title" value="{$parseInfo.title}">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">来源名称</label>
                <div class="col-sm-6">
                    <input type="text" placeholder="来源名称" class="form-control" name="source_name" value="{$parseInfo.source_name}">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">来源地址</label>
                <div class="col-sm-6">
                    <input type="text" placeholder="" class="form-control" name="source_url" value="{$parseInfo.source_url}">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">解析器配置</label>
                <div class="col-sm-6">
                    <textarea name="config" placeholder="解析器配置json串" class="form-control" rows="15">{$parseInfo.config}</textarea>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">状态</label>
                <div class="col-sm-6">
                    <div class="radio">
                        <label><input type="radio" name="status" value="1" <eq name="parseInfo.status" value="1">checked</eq>> 启用</label> &nbsp;&nbsp;&nbsp;
                        <label><input type="radio" name="status" value="0" <eq name="parseInfo.status" value="0">checked</eq>> 禁用</label>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label"></label>
                <div class="col-sm-2">
                    <input type="hidden" name="id" value="{$parseInfo.id}" >
                    <input type="submit" class="btn btn-primary" value=" 提 交 " > &nbsp;
                    <a href="{:U('/parse')}" class="btn btn-default"> 列 表 </a>
                </div>
            </div>
        </form>

    </div>
</div>

